package com.demo.service;


import java.util.List;

import com.demo.entity.po.AssessmentInfo;

import com.demo.entity.query.AssessmentInfoQuery;

import com.demo.entity.vo.PaginationResultVO;

/**
 * @Description:心理自评结果表service
 * @Date:2025-03-01
 * @author：author
*/
public interface AssessmentInfoService{

	/**
	 * 根据条件查询列表
	 */
	List<AssessmentInfo> findListByParam(AssessmentInfoQuery query);

	/**
	 * 根据条件查询数量
	 */
	Integer findCountByParam(AssessmentInfoQuery query);

	/**
	 * 分页查询
	 */
	PaginationResultVO<AssessmentInfo> findListByPage(AssessmentInfoQuery  query);

	/**
	 * 新增
	 */
	Integer  add(AssessmentInfo bean);

	/**
	 * 批量新增
	 */
	Integer  addBatch(List<AssessmentInfo> listBean);

	/**
	 * 批量新增或者修改
	 */
	Integer  addOrUpdateBatch(List<AssessmentInfo> listBean);


	/**
	 * 根据AssessmentId查询
	 */
	AssessmentInfo getAssessmentInfoByAssessmentId(Long assessmentId);

	/**
	 * 根据AssessmentId更新
	 */
	Integer updateAssessmentInfoByAssessmentId(AssessmentInfo bean, Long assessmentId);

	/**
	 * 根据AssessmentId删除
	 */
	Integer deleteAssessmentInfoByAssessmentId(Long assessmentId);

}